﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/MasterPage.master" AutoEventWireup="true"
    CodeFile="IssueList.aspx.cs" Inherits="Train_IssueList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Titile" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Content" runat="Server">
    <infolight:webdatasource id="Master" runat="server" autoapply="True" webdatasetid="WMaster"
        datamember="View_Issue">
    </infolight:webdatasource>
    <table cellpadding="0" cellspacing="5" class="TbSearch">
        <tr>
            <td style="width: 80px;">
                查询课题：
            </td>
            <td style="width: 80px">
                <asp:TextBox ID="txtClass" runat="server"></asp:TextBox>
            </td>
            <td style="width: 80px">
                查询主题：&nbsp;
            </td>
            <td style="width: 80px">
                <asp:TextBox ID="txtIssus" runat="server"></asp:TextBox>
            </td>
            <td style="width: 80px">
                培训时间：
            </td>
            <td style="width: 80px">
                <asp:TextBox ID="txtTime" runat="server" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})"
                    Width="85px" CssClass="Wdate" /></asp:TextBox>
            </td>
            <td style="text-align: center;">
                <span class="roundbtn">
                    <asp:LinkButton ID="SearchButton" runat="server" Text="&nbsp;&nbsp;&nbsp;&nbsp;查&nbsp;&nbsp;询&nbsp;&nbsp;&nbsp;&nbsp;"
                        OnClick="Search_Click"></asp:LinkButton>
                </span>
            </td>
        </tr>
    </table>
    <div class="tabsI" runat="server" id="Record">
        <ul>
                    <li runat="server" id="liDownLoad">
                <asp:LinkButton ID="DownLoad" runat="server" Text="<span style='color:#eeff99;'> 新 增 </span>"
                    CssClass="UnHover" OnClick="DownLoad_Click"></asp:LinkButton>
            </li>
        </ul>
    </div>
    <infolight:webgridview id="wgvMaster" runat="server" cellpadding="5" datasourceid="Master"
        forecolor="#333333" width="100%" aborticonurl="../Image/UIPics/Abort.gif" addiconurl="../Image/UIPics/Add.gif"
        applyiconurl="../Image/UIPics/Apply.gif" canceliconurl="../Image/UIPics/Cancel.gif"
        mouseoveraborticonurl="../Image/UIPics/Abort2.gif" mouseoveraddiconurl="../Image/UIPics/Add2.gif"
        mouseoverapplyiconurl="../Image/UIPics/Apply2.gif" mouseovercanceliconurl="../Image/UIPics/Cancel2.gif"
        mouseoverokiconurl="../Image/UIPics/OK2.gif" mouseoverqueryiconurl="../Image/UIPics/Query2.gif"
        okiconurl="../Image/UIPics/OK.gif" queryiconurl="../Image/UIPics/Query.gif" headerstylewrap="False"
        backcolor="White" bordercolor="White" borderstyle="Groove" borderwidth="2px"
        pagesize="20">
        <pagersettings mode="NumericFirstLast" />
        <footerstyle backcolor="#507CD1" forecolor="White" font-bold="True"></footerstyle>
        <navcontrols>
<InfoLight:ControlItem ControlVisible="False" Size="25" 
                MouseOverImageUrl="../image/uipics/add2.gif" ControlText="add" 
                ControlName="Add" ControlType="Image" ImageUrl="../image/uipics/add.gif"></InfoLight:ControlItem>
<InfoLight:ControlItem ControlVisible="False" Size="25" 
                MouseOverImageUrl="../image/uipics/ok2.gif" ControlText="Insert" 
                ControlName="OK" ControlType="Image" ImageUrl="../image/uipics/ok.gif"></InfoLight:ControlItem>
<InfoLight:ControlItem ControlVisible="False" Size="25" 
                MouseOverImageUrl="../image/uipics/cancel2.gif" ControlText="cancel" 
                ControlName="Cancel" ControlType="Image" ImageUrl="../image/uipics/cancel.gif"></InfoLight:ControlItem>
</navcontrols>
        <columns>
         <asp:TemplateField HeaderText="查看详细">                    
                     <HeaderStyle Wrap="False" />
                    <itemstyle horizontalalign="Center" />
                    <itemtemplate>
                <a href='IssuePractice.aspx?issid=<%# Eval("IssueId") %>'><img src="../Image/UIPics/Select.gif" style="border:0"/></a>
                
                
                   </itemtemplate>
                </asp:TemplateField>
                
                
                <asp:BoundField DataField="IssueId" HeaderText="主题编号" 
                    SortExpression="IssueId" />
                <asp:BoundField DataField="IssueName" HeaderText="主题名称" 
                    SortExpression="IssueName" />
                <asp:BoundField DataField="LessonName" HeaderText="课题名称" 
                    SortExpression="LessonName" />
                <asp:TemplateField HeaderText="培训日期" SortExpression="TrainDate">
                    <EditItemTemplate>
                        <InfoLight:WebDateTimePicker ID="wdtView_IssueTrainDateE" runat="server" 
                            DateFormat="None" DateTimeType="DateTime" Localize="False" MaxYear="2050" 
                            MinYear="1950" Text='<%# Bind("TrainDate", "{0:d}") %>' ToolTip="TrainDate" 
                            UseButtonImage="True" Width="100px"></InfoLight:WebDateTimePicker>
                    </EditItemTemplate>
                    <FooterTemplate>
                        <InfoLight:WebDateTimePicker ID="wdtView_IssueTrainDateF" runat="server" 
                            DateFormat="None" DateTimeType="DateTime" Localize="False" MaxYear="2050" 
                            MinYear="1950" ToolTip="TrainDate" UseButtonImage="True" Width="100px"></InfoLight:WebDateTimePicker>
                    </FooterTemplate>
                    <ItemTemplate>
                        <asp:Label ID="lView_IssueTrainDate" runat="server" 
                            Text='<%# Bind("TrainDate", "{0:d}") %>' ToolTip="TrainDate"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="TrainICharge" HeaderText="培训主题费用" 
                    SortExpression="TrainICharge" />
                <asp:BoundField DataField="LessonId" HeaderText="课题编号" 
                    SortExpression="LessonId" Visible="False" />
</columns>
        <rowstyle backcolor="#EFF3FB"></rowstyle>
        <editrowstyle backcolor="#2461BF"></editrowstyle>
        <selectedrowstyle backcolor="#D1DDF1" forecolor="#333333" font-bold="True"></selectedrowstyle>
        <pagerstyle backcolor="LightBlue" forecolor="White" horizontalalign="Center"></pagerstyle>
        <headerstyle backcolor="DeepSkyBlue" forecolor="White" font-bold="True"></headerstyle>
        <alternatingrowstyle backcolor="White" bordercolor="White"></alternatingrowstyle>
    </infolight:webgridview>
</asp:Content>
